package edu.zju.gis.dldsj.mapper;

import edu.zju.gis.dldsj.base.BaseMapper;
import edu.zju.gis.dldsj.model.Storage;

import java.util.List;

public interface StorageMapper extends BaseMapper<Storage, String> {
    int deleteByPrimaryKey(String pkMetaId);

    int insert(Storage record);

    int insertSelective(Storage record);

    Storage selectByPrimaryKey(String pkMetaId);

    int updateByPrimaryKeySelective(Storage record);

    int updateByPrimaryKey(Storage record);

    List<Storage> getByName(String metaName);

    int selectCount();
}